package com.qili.service.sys.impl;

import com.qili.entity.sys.EmailCode;
import com.qili.mapper.sys.EmailCodeMapper;
import com.qili.service.sys.EmailCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmailCodeServiceImpl implements EmailCodeService {

    @Autowired
    private EmailCodeMapper emailCodeMapper;

    @Override
    public List<EmailCode> selectByEmail(String email) {
        return emailCodeMapper.selectByEmail(email);
    }
}
